package com.neusoft.ysu.elm02.service;

import com.neusoft.ysu.elm02.entity.CommonResult;
import com.neusoft.ysu.elm02.entity.Emp;

import java.io.UnsupportedEncodingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：赵子鉴
 * @since 2023-08-21
 */

public interface IEmpService {

    CommonResult findAll();

    CommonResult insert(Emp emp);

    CommonResult findJobByPre(String job);

    CommonResult checkLogin(String loginname, String password) throws UnsupportedEncodingException;
}
